import service from '../utils/request'
export default {
    chaxun(user) {
        return service({
            url: `/user/login`,
            method: 'post',
            data: user
        })
    },
    zhuce(loginForm) {
        return service({
            url: `/user/zhuce`,
            method: 'post',
            data: loginForm
        })
    },
    xiugaia(ac,userId) {
        return service({
            url: `/user/xiugai/${userId}`,
            method: 'post',
            data: ac
        })
    },
    xiuaixian(userId) {
        return service({
            url: `/user/xiugaihuixian/${userId}`,
            method: 'post',
        })
    },
    pingluinxianshi() {
        return service({
            url: `/comment/spxpl`,
            method: 'post',

        })
    },
}

